package com.jdone.compus.dto;

import com.jdone.compus.enums.ChannelType;
import com.jdone.compus.model.BlowDevice.DeviceStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.time.LocalDateTime;

@Data
@ApiModel("BlowDevice 分页查询条件 DTO")
public class BlowDeviceQuery {
    @ApiModelProperty("设备名称（模糊）")
    private String name;

    @ApiModelProperty("创建起始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdFrom;

    @ApiModelProperty("创建结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTo;

    @ApiModelProperty(value = "设备的详细位置")
    private String location;
}
